package com.lu.booteasyexcel.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.converters.string.StringImageConverter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Teacher {
    /**
     * 老师的主键
     * 不需要导出 可以忽略这个字段
     */
    @ExcelIgnore
    private Integer teacherId;
    @ExcelProperty("老师名字")
    private String teacherName;
    @ExcelProperty("老师图片")
    private String teacherImage;
    @ExcelProperty("老师的状态")
    private Integer teacherStatus;

}
